package com.yaosheng.thread.jvm;

import java.util.LinkedList;
import java.util.List;

/**
 * Created by yaosheng on 2021/7/16.
 */
public class HelloGC {

    public static void main(String[] args) {

        System.out.println ("Hello,GC!");
        List list = new LinkedList<> ();
        for(;;){
            byte[] b = new byte[1024 * 1024];
            list.add (b);
        }
    }
}
